package com.businessTest;

import junit.framework.Assert;
import junit.framework.TestCase;
import com.beans.Movie;
import com.beans.Person;
import com.dao.moviedao;
import com.exceptions.*;
import com.bussiness.AdminBussiness;
import com.bussiness.MovieBussiness;

public class MovieBusinessTestCase extends TestCase {

	public void testGetAllCatIds() throws Exception {		
		int[] catagoryIds = null;
		MovieBussiness Object = new MovieBussiness();
		try
		{
			catagoryIds = Object.getAllCatIds();
		}
		catch(ServiceUnavailableException suex)
		{
			suex.printStackTrace();
			System.out.println(suex.toString());
		}
		for (int i=0;i < catagoryIds.length ; i++)
		{
			System.out.println("Categoru " + (i+1) +": ");
			System.out.println(catagoryIds[i]);
		}
	}

	public void testGetCategoryName() throws Exception {
		fail("Not yet implemented");
	}

	public void testGetAllMovies() throws Exception {
		fail("Not yet implemented");
	}

	public void testGetMoviesbyCategory() throws Exception {
		fail("Not yet implemented");
	}

	public void testCreateMovie() throws Exception {
		fail("Not yet implemented");
	}

	public void testUpdateMovie() throws Exception {
		fail("Not yet implemented");
	}

	public void testDeleteMovie() throws Exception {
		fail("Not yet implemented");
	}

	public void testIssueMovie() throws Exception {
		fail("Not yet implemented");
	}

	public void testSubmitMovie() throws Exception {
		fail("Not yet implemented");
	}

	public void testGenerateBillSimple() throws Exception {
		fail("Not yet implemented");
	}

	public void testGenerateBillPremium() throws Exception {
		fail("Not yet implemented");
	}

	public void testGetMovieById() throws Exception {
		fail("Not yet implemented");
	}

	public void testMovieAlreadyIssued() throws Exception {
		fail("Not yet implemented");
	}

	public void testIsMovieAvailable() throws Exception {
		fail("Not yet implemented");
	}

	public void testIsUserEligible() throws Exception {
		fail("Not yet implemented");
	}

	public void testGetUserIssuedMovies() throws Exception {
		fail("Not yet implemented");
	}

}
